#ifdef WATCHAPI_EXPORTS
#define WATCH_API __declspec(dllexport)
#else
#define WATCH_API __declspec(dllimport)
#endif

extern "C" WATCH_API bool InstallHook(LPCWSTR clientAppPath, bool installCBTHook);
extern "C" WATCH_API void UninstallHook();

extern "C" LRESULT CALLBACK CBTProc(int nCode, WPARAM wParam, LPARAM lParam);

class WatchApp;

extern WatchApp* g_pClient;